Skip to content

Conversation

@yybmion
Copy link
Contributor

@yybmion yybmion commented Mar 24, 2025

Issue

(Fixes #2562)

I noticed a duplicate example in the Vector Databases documentation. In the section about filter operators (IN, NIN, NOT), the example shown is identical to an earlier example and doesn't actually demonstrate these operators.

Changes

Replace the duplicate example with one that properly demonstrates the IN, NOT, and other operators:

Expression exp = b.and(b.in("genre", "drama", "documentary"), b.not(b.lt("year", 2020))).build();

@ilayaperumalg ilayaperumalg self-assigned this Apr 1, 2025
@ilayaperumalg ilayaperumalg added vector store documentation Improvements or additions to documentation labels Apr 1, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-M7 milestone Apr 1, 2025
@ilayaperumalg
Copy link
Member

@yybmion Thanks for fixing the example.

@ilayaperumalg ilayaperumalg merged commit 77e87cc into spring-projects:main Apr 1, 2025
2 checks passed
TheovanKraay pushed a commit to TheovanKraay/spring-ai that referenced this pull request Apr 11, 2025
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation vector store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix duplicate example in Vector Databases documentation

2 participants